package recipe;

import common.db.DBExecute;
import common.main.MainBean;

public class RecipeHitCountBean extends MainBean
{
	public void funcExecute() throws Exception
	{	
		String seq = (String)inputTable.get("seq");
		
		queryBuffer = new StringBuffer("");
		queryBuffer.append("UPDATE RECIPE SET COUNT=COUNT+1 ");
		queryBuffer.append("WHERE SEQ='"+seq+"'");	
				
		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();
	}
}
